<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
 * 首页控制器
 * 
 * Enter description here ...
 * @author Administrator
 *
 */
class Sys  
{
    
    public function __construct()
    {
    }
    
    public function isget()
    {
        return ($_SERVER['REQUEST_METHOD'] == 'GET') ? true : false;
        
    }
    
    public function ispost()
    {
        return ($_SERVER['REQUEST_METHOD'] == 'POST') ? true : false;
        
    }
    
    
	
}

